﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;

namespace WowGuildSite.Armory
{
    public class ArmoryItemEnchant
    {
        private string localizedText = string.Empty;

        public string LocalizedText
        {
            get { return localizedText;}
        }

        internal static ArmoryItemEnchant FromElement( XmlElement element )
        {
            if ( element == null )
            {
                return new ArmoryItemEnchant();
            }

            ArmoryItemEnchant enchant = new ArmoryItemEnchant();
            enchant.localizedText = ArmoryXmlUtility.GetElementText(element);
            return enchant;
        }

        private ArmoryItemEnchant()
        {}
    }
}
